package com.whjfxx.terminal.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.whjfxx.terminal.entity.SysOrganization;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by b.c on 2022/4/14 10:22
 */
@Repository
public interface SysOrganizationMapper extends BaseMapper<SysOrganization> {

    /**
     *
     * @param organizationCode
     * @param organizationName
     * @return
     */
    List<SysOrganization> getByCodeOrName(@Param("organizationCode") String organizationCode, @Param("organizationName") String organizationName);
}
